package top.superflow.flow.config

import top.superflow.core.pool.imp.ResourcePoolConfig
import top.superflow.flow.config.metadata.MetadataRestrain

import scala.beans.BeanProperty


class ResourceConfig extends Config{


  @BeanProperty
  var resourceType : String = _

  @BeanProperty
  var poolType : String = _

  @BeanProperty
  var scope : String = _

  @BeanProperty
  var lazyInit : Boolean =  true

  def getResourcePoolConfig (metadataRestrain: MetadataRestrain) : ResourcePoolConfig = ???
}